//
//  MeatWholePigUIComponent.h
//  PigMarket
//
//  Created by 张敬 on 2019/7/25.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MeatShopRightModel.h"


typedef NS_ENUM(NSInteger, MeatFoldUILayoutType){
    
    MeatFoldUILayoutType_FullScreen,  //满屏(分割猪)
    MeatFoldUILayoutType_HalfScreen,  //半横(分割猪)
    MeatFoldUILayoutType_Whole        //全猪
};


NS_ASSUME_NONNULL_BEGIN

@interface MeatWholePigUIComponent : NSObject

/**
 店铺Icon
 */
@property (nonatomic, strong) UIImageView *shopIcon; //店铺Icon


/**
 Btn
 */
@property (nonatomic, strong) UIButton *checkBtn;


/**
 猪类型
 */
@property (nonatomic, strong) UILabel *pigTypeTipLab;


/**
 猪编号
 */
@property (nonatomic, strong) UILabel *pigTypeNOLab;


/**
 猪价格
 */
@property (nonatomic, strong) UILabel *pigTypePriceLab;


/**
 猪原价（取消）
 */
@property (nonatomic, strong) UILabel *pigTypePriceCancelLab;


/**
 寄宿View
 */
@property (nonatomic, strong) UIView *view;


/**
 布局Type
 */
@property (nonatomic, assign) MeatFoldUILayoutType type;


/**
 数据源Model
 */
@property (nonatomic, strong) MeatShopRightModel *model;


/**
 Cart/Choosed Block
 */
@property (nonatomic, copy) dealBtnOperation chooseCartBlock;



@end

NS_ASSUME_NONNULL_END
